<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <select>
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
  </select>
  <button id="dev">点击删除元素</button>
</body>
<script>
  document.getElementById('dev').onclick = function () {
    var select = document.querySelector('select')
    let ipTion = document.getElementsByTagName('option')
    console.log(select.value);
    for (var i = 0; i < ipTion.length; i++) {
      if (select.value == ipTion[i].value) {
        select.removeChild(ipTion[i])
      }
    }
  }
</script>

</html>